import { request } from '@/utils/request'
import { url } from './url'

export const getKnowledgeItems = (params) => request('get', `${url}/knowledge/items`, null, params)
export const getKnowledgeItemDetail = (id) => request('get', `${url}/knowledge/items/${id}`)
